#ifndef _APP_PROCESS_H_
#define _APP_PROCESS_H_

#ifdef __cplusplus
extern "C" {
#endif

/* Files include */
#include "hal_conf.h"
#include "platform.h"
#include "app_drive.h"
#include "main.h"
#include "HBS1621.h"

typedef struct  
{
	uint8_t neck_battery;
	uint8_t remote_battery;
	uint8_t electric;
	uint8_t electric_grade;
	uint8_t shock;
	uint8_t shock_grade;
	uint8_t voice;
	uint8_t voice_grade;
	uint8_t light;
	uint8_t gps;
	uint8_t lock;
	uint8_t dog_select;
	uint8_t dog1;
	uint8_t dog2;
	uint8_t dog3;
	uint8_t digital_value;
	uint8_t on_off;

	uint8_t new_cmd;
	uint8_t new_grade;

	uint8_t neck_battery_value;
	uint8_t neck_battery_charging;
	uint8_t remote_battery_value;


}sys_status_t;

enum CMD_433
{
	VOICE=1,
	SHOCK,
	ELECTRICE,
	NECK_BATTERY,
	PAIR_REQUEST
};


void key_init();
void key_process();
void battery_check_init();

#ifdef __cplusplus
}
#endif

#endif /* _GPIO_LED_TOGGLE_H_ */

/********************************************** (C) Copyright MindMotion **********************************************/

